home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
modelers
/
geomview
/
source.lha
/
Geomview
/
src
/
bin
/
flythrough
/
O.sgi
/
Makefile
< prev
next >
Wrap
Makefile
|
1993-01-29
|
854b
|
35 lines
GEOM = ../../../..
include ${GEOM}/makefiles/Makedefs.global
include ../Makedefs
include ${GEOM}/makefiles/Makerules.obj
CFLAGS = -g -I${GEOM}/include
LIBS= -L${GEOM}/lib/${MACHTYPE} -lforms -lfm_s -lgl_s
install: install_module
install_module: ${TARGETS}
${INSTALLMODULE} ${TARGETS} ../.geomview-flythrough ${MODULEDIR}
${TARGETS}: ${OBJS}
/bin/rm -f ../${TARGETS}
${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
ln ${TARGETS} ..
SED = sed \
-e 's/\\/\\\\/g' \
-e 's/"/\\"/g' \
-e '1s/^\(.*\)$$/"\1/' \
-e 's/^\(.*\)$$/\1\\n\\/' \
-e '$$s/^\(.*\)/\1n"/'
flyhelp.h: ../flyhelp
/bin/rm -f ../flyhelp.h
( echo '/*' ; \
echo ' * flyhelp.h: generated automatically from file "flyhelp"' ; \
echo ' *' ; \
echo ' * to modify, edit "flyhelp" and type "make flyhelp.h"' ; \
echo ' */' ; \
${SED} < ../flyhelp ) > ../flyhelp.h